package com.alibaba.aone.casestudy.common;

public interface WebConstant {

    String       QUALITY_USER_SESSION_KEY  = "aoneUser";

    /** 默认的用户 realm。 */
    String       ACCESS_QUALITY_REALM      = "quality";

    /** Admin role */
    String       IS_ADMIN_ROLE               = "isAdminRole";

    /** Login页面返回URL的key。 */
    String       LOGIN_RETURN_KEY          = "return";

    /** 登录URL的名字。 */
    String       QUALITY_LOGIN_LINK        = "qualityLoginLink";

    /** Aone 的Cookie的Key名 */
    String       AONE_COOKIE_LOGIN_NAME    = "user_name_out";

    String       QUALITY_REPORT_DEVAUALITY = "devQualityLink";

    /** session部门ID */
    final String QUALITY_SELECT_DEPARTMENT = "quality_select_department";

    /** session选择年月 */
    final String QUALITY_SELECT_MONTH      = "quality_select_month";
    
 // 得到所有部门的请求
    final String   DepartRequest                     = "?action=depart";
    final String   UserRequest                     = "?action=opsUserInfo&accountId=";
    
    final String   QUERY_USER="?action=queryUser";
    final String   QUERY_PRODUCTLINE="?action=queryProductLine";
    final int 	   QUERY_MAX=20;
}
